<!-- INCLUDE sv_overall_header.html -->


<!-- IF IN_FB_IFRAME -->
	<script type="text/javascript" src="../ofc/js/json/json2.js"></script>
	<script type="text/javascript" src="../ofc/js/swfobject.js"></script>
	<script type="text/javascript">
	swfobject.embedSWF("../ofc/open-flash-chart.swf", "my_chart", "680", "350", "9.0.0");
	</script>
<!-- ELSE -->
	<script type="text/javascript" src="ofc/js/json/json2.js"></script>
	<script type="text/javascript" src="ofc/js/swfobject.js"></script>
	<script type="text/javascript">
	swfobject.embedSWF("ofc/open-flash-chart.swf", "my_chart", "950", "550", "9.0.0");
	</script>
<!-- ENDIF -->


<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
			{S_LOGIN_REDIRECT}
		</fieldset>
	</form>
<!-- ENDIF -->



<div class="panel" style="float:left;margin-right:1em;"> 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2> {L_SV_FOLLOW_INFO} - 
		<!-- IF S_MODE == '1_month_roi' -->		
		{L_SV_ROI_RANKING_LAST_1_MONTH}
		<!-- ELSEIF S_MODE == '3_month_roi' -->		
		{L_SV_ROI_RANKING_LAST_3_MONTH}
		<!-- ELSEIF S_MODE == '6_month_roi' -->		
		{L_SV_ROI_RANKING_LAST_6_MONTH}
		<!-- ELSEIF S_MODE == '12_month_roi' -->		
		{L_SV_ROI_RANKING_LAST_12_MONTH}
		<!-- ELSE  -->
		{L_SV_MARKET_VALUE_RANKING}  
		<!-- ENDIF -->
	
		&nbsp <img title="{L_SV_FULL_RANKING_TITLE_TIPS}" src="{T_IMAGES_PATH}icons/smile/info.gif" alt="info" /> 
	</h2> 
	
	</div>
	
	<table border="0" cellpadding="5" cellspacing="5">
		<tr>
			<td><p>{L_SV_RANK_INDEX}</p></td>
			
			<td></td>
			
			<td><p>{L_SV_USER_NAME}</p></td>
			<td width=120px><p <!-- IF S_MODE == 'user_value' --> style="font-weight:bold;"<!-- ENDIF -->>{L_SV_MARKET_VALUE}</p></td>
			<td><p  <!-- IF S_MODE == '1_month_roi' --> style="font-weight:bold;"<!-- ENDIF -->	>{L_SV_ROI_LAST_1_MONTH}</p></td>
			<td><p  <!-- IF S_MODE == '3_month_roi' --> style="font-weight:bold;"<!-- ENDIF --> >{L_SV_ROI_LAST_3_MONTH}</p></td>
			<td><p  <!-- IF S_MODE == '6_month_roi' --> style="font-weight:bold;"<!-- ENDIF --> >{L_SV_ROI_LAST_6_MONTH} </p></td>
			<td><p  <!-- IF S_MODE == '12_month_roi' --> style="font-weight:bold;"<!-- ENDIF --> >{L_SV_ROI_LAST_12_MONTH}</p></td>
			
		</tr>
		<!-- BEGIN followee_list -->
		
		<tr id="{list.INDEX}" class="ranking_row" > 	
			<td><p>{followee_list.INDEX}</p></td>
			<td height="36">
				<a href="{S_QUERY_USER}&user_id={followee_list.USER_ID}">
					<!-- IF followee_list.USER_FB_ID != 0 -->
					<img src="http://graph.facebook.com/{followee_list.USER_FB_ID}/picture" width=32 height=32>
					<!-- ELSE -->
					<div style="width: 32px; height: 32px; background: #ECF1F3; border: 0px;">&nbsp;</div>
					<!-- ENDIF -->
				</a>
			</td>		
			<td><p><a href="{S_QUERY_USER}&user_id={followee_list.USER_ID}">{followee_list.USER_NAME}</a></p></td>
			<td><p <!-- IF S_MODE == 'user_value' --> style="font-weight:bold;"<!-- ENDIF -->   >{followee_list.VALUE}</p></td>
			<td><p <!-- IF S_MODE == '1_month_roi' --> style="font-weight:bold;"<!-- ENDIF -->  ><!-- IF followee_list.HAVE_ROI_30 == true -->{followee_list.ROI_30}% <!-- ELSE --> <!-- ENDIF --></p></td>
			<td><p <!-- IF S_MODE == '3_month_roi' --> style="font-weight:bold;"<!-- ENDIF -->	><!-- IF followee_list.HAVE_ROI_90 == true -->{followee_list.ROI_90}% <!-- ELSE --> <!-- ENDIF --></p></td>
			<td><p <!-- IF S_MODE == '6_month_roi' --> style="font-weight:bold;"<!-- ENDIF -->	><!-- IF followee_list.HAVE_ROI_180 == true -->{followee_list.ROI_180}% <!-- ELSE --> <!-- ENDIF --></p></td>
			<td><p <!-- IF S_MODE == '12_month_roi' --> style="font-weight:bold;"<!-- ENDIF -->	><!-- IF followee_list.HAVE_ROI_360 == true -->{followee_list.ROI_360}% <!-- ELSE --> <!-- ENDIF --></p></td>
			
			
		</tr>
		
		<!-- END followee_list -->
		
		
		
	</table>
</div>


<div class="panel" style="float:left;margin-right:1em;"> 
	<div class="inner"><span class="corners-top"><span></span></span> 
	<h2>{L_SV_FOLLOW_INFO} - {L_SV_HISTORY}</h2> 
	</div>
	
	<table border="0" cellpadding="5" cellspacing="5">
	<tr>
		<td>{L_SV_FOLLOW_INFO_PERIOD_SELECTION}</td>
		<td><a href="{S_FOLLOW_INFO_1_MONTH}" >{L_SV_1_MONTH}</a></td>
		<td><a href="{S_FOLLOW_INFO_3_MONTH}" >{L_SV_3_MONTH}</a></td>
		<td><a href="{S_FOLLOW_INFO_6_MONTH}" >{L_SV_6_MONTH}</a></td>
		<td><a href="{S_FOLLOW_INFO_1_YEAR}" >{L_SV_12_MONTH}</a></td>
	</tr>
	<tr></tr>
	</table>
	
	<!-- IF S_LIST  -->
	<table border="0" cellpadding="5" cellspacing="5">
		<tr>
			
			<td> </td>		
			
			<td><p>{L_SV_USER_NAME}</p></td>
			<td><p>{L_SV_TYPE}</p></td>			
			<td><p>{L_SV_CORP_NAME}</p></td>
			<td><p>{L_SV_NUMBER}</p></td>
			<td><p>{L_SV_REQUEST_TIME}</p></td>
			<td><p>{L_SV_DEAL_TIME}</p></td>
			<td><p>{L_SV_PRICE}</p></td>
			<td><p>{L_SV_NOTE}</p></td>
		</tr>
		<!-- BEGIN list -->
		<tr>
			
			<!-- IF list.USER_FB_ID != 0 -->
			<td><img src="http://graph.facebook.com/{list.USER_FB_ID}/picture" width=32 height=32></td>		
			<!-- ELSE -->
			<td><img src="" width=32 height=32 style="border:0px solid black"> </td>
			<!-- ENDIF -->
			
			<td><p><a href="{S_QUERY_USER}&user_id={list.USER_ID}">{list.USER_NAME}</a></p></td>
			
			<td><p>
			<!-- IF list.ACTION eq buy -->     {L_SV_ACTION_BUY}    <!-- ENDIF -->
			<!-- IF list.ACTION eq sell -->    {L_SV_ACTION_SELL}     <!-- ENDIF -->
			<!-- IF list.ACTION eq to_buy -->  {L_SV_ACTION_TO_BUY}      <!-- ENDIF -->
			<!-- IF list.ACTION eq to_sell --> {L_SV_ACTION_TO_SELL}       <!-- ENDIF -->			
			<!-- IF list.ACTION eq to_buy_deleted -->  {L_SV_ACTION_TO_BUY_DELETED}      <!-- ENDIF -->
			<!-- IF list.ACTION eq to_sell_deleted --> {L_SV_ACTION_TO_SELL_DELETED}       <!-- ENDIF -->			
			</p></td>
			<td><p>{list.CORP_NAME}({list.CORP_ID})</p></td>
			<td><p>{list.NUMBER}</p></td>
			<td><p>{list.REQUEST_TIME}</p></td>
			<td><p><!-- IF list.DEAL_TIME eq 0 -->   {L_SV_DEAL_NOT_DONE}   <!-- ELSE -->    {list.DEAL_TIME}      <!-- ENDIF --></p></td>
			<td><p><!-- IF list.PRICE eq 0 -->   --   <!-- ELSE -->    {list.PRICE}      <!-- ENDIF --></p></td>
			<td><p>{list.NOTE}</p></td>
		</tr>
		<!-- END list -->
	</table>
	<!-- ELSE -->
	{L_SV_NO_HISTORY}
	<!-- ENDIF -->
</div>





<!-- INCLUDE sv_overall_footer.html -->